<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="./style.css" />
    <script src="https://cdn.tailwindcss.com"></script>

    <title>02_全屏视频背景</title>
  </head>
  <body class="select-none box-border">
    <div class="banner w-full h-screen overflow-hidden flex justify-center items-center">
      <video autoplay muted loop class="absolute top-0 left-0 object-cover w-full h-full pointer-events-none">
        <source src="../assets/videos/bg.mp4" type="video/mp4" />
        <source srcset="../assets/videos/bg.webm" type="video/webm" />
      </video>
      <div class="content relative z-10 max-w-[1000px] text-white text-center my-0 mx-auto">
        <h1 class="text-7xl uppercase">Fullscreen Video Banner</h1>
        <p class="text-2xl">
          Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aliquid minima eaque distinctio quasi, quia nemo
          aliquam dolor nostrum placeat culpa blanditiis itaque molestias, inventore quas soluta. Consectetur quis esse
          ex.
        </p>
      </div>
    </div>
  </body>
</html>
